function init2() {
	if (!init.tipdiv2) {
		init.tipdiv2 = document.createElement('div');
		init.tipdiv2.id = 'tipdiv2';
		document.body.appendChild(init.tipdiv2);
	}
}

var tooltips2 = {
	timer: null,
	tipID: 'tipdiv2',
	showdelay: 100,
	hidedelay: 200,
	showorhidediv2: function(visiable) {
		var tipdiv2 = document.getElementById(this.tipID);
		if (!tipdiv2) {
			tipdiv2 = document.createElement('div');
			tipdiv2.id = this.tipID;
			document.body.appendChild(tipdiv2);
		}
		if (visiable) {
			tipdiv2.style.visibility = 'visible';
		} else {
			tipdiv2.style.visibility = 'hidden';
		}
	},

	showtips2: function(e, msg) {
		var clientx;
		var clienty;
		if (!e) {
			e = window.event;

		} else {
			clientx = document.body.clientWidth / 2;
			clienty = document.body.clientHeight / 2;
		}
		var tipdiv2 = document.getElementById('tipdiv2');
		if (!tipdiv2) {
			tipdiv2 = document.createElement('div');
			tipdiv2.id = this.tipID;
		}
		tipdiv2.style.left = clientx - tipdiv2.offsetWidth / 2;
		tipdiv2.style.top = clienty - tipdiv2.offsetHeight / 2;
		tipdiv2.innerHTML = "<table><tr><p>" + msg + "</p></tr></table><tr><td><input type='button' value='按钮1' onclick='tooltips2.hidetips2();'></td><td><input type='button' value='按钮2'></td></tr>";
		this.timer = window.setTimeout('tooltips2.showorhidediv2(true)', this.showdelay);
		if (e.stopPropagation) {
			e.stopPropagation();
		} else {
			e.cancelBubble = true;
		}
		if (e.preventDefault) {
			e.preventDefault();
		} else {
			e.returnValue = false;
		}
	},
	hidetips2: function(e) {
		if (!e) {
			e = window.event;
		}
		if (this.timer) {
			clearTimeout(this.timer);
			this.timer = 0;
		}
		tooltips2.showorhidediv2(false);
	}
};